package com.yonyou.cyxdms.basedata.service.entity.basedata;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yonyou.cyxdms.framework.bean.entity.base.DMSBasePO;

/**
 * <p>
 *系统参数表,存放经销商自定义参数，如技师、自定义类别
 * </p>
 *
 * @author dengqiang
 * @since 2019-08-06
 */
@TableName("tc_system_param")
public class SystemParamPO extends DMSBasePO<SystemParamPO> {

    private static final long serialVersionUID = 1L;
    /**
     * 参数ID
     */
    @TableId(value = "PARAM_ID", type = IdType.AUTO)
    private Long paramId;

    /**
     * APP_ID
     */
    @TableField("APP_ID")
    private String appId;


    /**
     * 公司代码
     */
    @TableField("COMPANY_CODE")
    private String companyCode;
    /**
     * 所有者代码
     */
    @TableField("OWNER_CODE")
    private String ownerCode;

    /**
     * 所有者的父组织代码（用于二网使用）
     */
    @TableField("OWNER_PAR_CODE")
    private String ownerParCode;

    /**
     * 参数类型
     */
    @TableField("PARAM_TYPE")
    private Integer paramType;

    /**
     * 参数CODE
     */
    @TableField("PARAM_CODE")
    private String paramCode;

    /**
     * 参数名称
     */
    @TableField("PARAM_NAME")
    private String paramName;

    /**
     * 状态(10011001有效,10011002无效
     */
    @TableField("STATUS")
    private Integer status;

    /**
     * 参数值
     */
    @TableField("PARAM_VALUE")
    private String paramValue;


    /**
     * 维修，配件、通用
     */
    @TableField("PARAM_CATEGORY")
    private Integer paramCategory;


    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    public Long getParamId() {
        return paramId;
    }

    public void setParamId(Long paramId) {
        this.paramId = paramId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getOwnerCode() {
        return ownerCode;
    }

    public void setOwnerCode(String ownerCode) {
        this.ownerCode = ownerCode;
    }

    public String getOwnerParCode() {
        return ownerParCode;
    }

    public void setOwnerParCode(String ownerParCode) {
        this.ownerParCode = ownerParCode;
    }

    public Integer getParamType() {
        return paramType;
    }

    public void setParamType(Integer paramType) {
        this.paramType = paramType;
    }

    public String getParamCode() {
        return paramCode;
    }

    public void setParamCode(String paramCode) {
        this.paramCode = paramCode;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getParamValue() {
        return paramValue;
    }

    public void setParamValue(String paramValue) {
        this.paramValue = paramValue;
    }

    public Integer getParamCategory() {
        return paramCategory;
    }

    public void setParamCategory(Integer paramCategory) {
        this.paramCategory = paramCategory;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "SystemParamPO{" +
                "paramId=" + paramId +
                ", appId='" + appId + '\'' +
                ", companyCode='" + companyCode + '\'' +
                ", ownerCode='" + ownerCode + '\'' +
                ", ownerParCode='" + ownerParCode + '\'' +
                ", paramType=" + paramType +
                ", paramCode='" + paramCode + '\'' +
                ", paramName='" + paramName + '\'' +
                ", status=" + status +
                ", paramValue='" + paramValue + '\'' +
                ", paramCategory=" + paramCategory +
                ", remark='" + remark + '\'' +
                '}';
    }
}
